# Contributor: Will Sinatra <wpsinatra@gmail.com>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=tkts
pkgver=1.0.1
pkgrel=0
pkgdesc="CLI single user ticketing system"
url="http://lambdacreate.com/dev/tkts"
arch="all !s390x !riscv64" #fennel is not packaged for s390x
license="GPL-3.0-only"
makedepends="fennel lua5.3-dev luarocks"
source="https://gitlab.com/Durrendal/tkts/-/archive/v$pkgver/tkts-v$pkgver.tar.bz2"
builddir="$srcdir/tkts-v$pkgver"
options="!check" #no checks exist

build() {
	make compile-bin
}

package() {
	install -Dm755 "$builddir"/src/tkts-bin "$pkgdir"/usr/bin/tkts
}

sha512sums="47e2c966d91c1e482a393cbfd581db425b9716ccaa92479cfae8b70ec66bdae211d67644adf48b94ec6b5c6674c6fb3075922d807b8e1eadd8c96468adce5b82  tkts-v1.0.1.tar.bz2"
